<% extends "common/msui.html" %>
<% block title %>产品<% endblock %>
<% block body %>
<% set aaa = _cr.dictfetchone("select * from product_product where id=1") %>
<div class="page" id="page-${page}" ms-controller="test3">
  <header class="bar bar-nav">
    <a class="button button-link button-nav pull-left back" href="/mshop/product/13" >
      <span class="icon icon-left"></span>
      返回
    </a>
    <h1 class="title">标题栏和工具栏</h1>
  </header>
  <div class="content">
    <div>
        <h1>{{name_template}}</h1>
    </div>
    <div ms-controller="test4">
        <a href="product/test">word2:{{word2}}</a></div>
  </div>
    <script type="text/json" id="test3">
    ${aaa|tojson|safe}
    </script>
    <script type="text/json" id="test4">
    {"word2": "word2"}
    </script>
    <% endblock %>
</div>